package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class StatementInformationItem {

    private int beginIndex;
    private int endIndex;
    private SimpleTargetSpecification simpleTargetSpecification;
    private StatementInformationItemName statementInformationItemName;

    public StatementInformationItem(SimpleTargetSpecification simpleTargetSpecification,
                                    StatementInformationItemName statementInformationItemName) {
        this.beginIndex = simpleTargetSpecification.getBeginIndex();
        this.endIndex = statementInformationItemName.getEndIndex();
        this.simpleTargetSpecification = simpleTargetSpecification;
        this.statementInformationItemName = statementInformationItemName;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public SimpleTargetSpecification getSimpleTargetSpecification() {
        return simpleTargetSpecification;
    }

    public StatementInformationItemName getStatementInformationItemName() {
        return statementInformationItemName;
    }

}
